/********************************************************************************
* @file    bsp_exti.h
* @author  jianqiang.xue
* @version V1.0.0
* @date    2021-04-09
* @brief   NULL
********************************************************************************/

#ifndef __BSP_EXTI_H
#define __BSP_EXTI_H

/* Includes ------------------------------------------------------------------*/
#include <stdint.h>

/* Public Function Prototypes ------------------------------------------------*/

void bsp_exti_set(uint8_t irqn, uint32_t priority);
void bsp_exti_clear_set(uint8_t irqn);
void bsp_exti_clear_flag(void *gpiox, uint8_t pin);

// 引脚外部中断回调

bool bsp_gpio_exti_irq_register_callback(void *event);

#endif
